package org.dtrd.modules.achievement.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.achievement.entity.po.DtrdEntRdSigninTemplate;

import java.util.Date;

/**
 * <p>
 * 打卡计划模板
 * </p>
 *
 * @author QR
 * @since 2022-01-04
 */
@Getter
@Setter
@ApiModel(value = "打卡计划模板列表信息", description = "打卡计划模板")
public class SigninTemplateListInfo {

    private Integer dataId;

    @ApiModelProperty("模板名称")
    private String signInName;

    @ApiModelProperty("编辑人")
    private String editor;

    @ApiModelProperty("编辑时间")
    private Date editTime;



    public SigninTemplateListInfo (DtrdEntRdSigninTemplate po) {
        dataId = po.getDataId();
        signInName = po.getSignInName();
        editTime = po.getUpdateTime();
    }
}
